package com.itany.mapper;

import com.itany.pojo.ManagerUser;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-18 上午10:00
 * Description：<描述>
 */
public interface ManagerUserMapper {

    ManagerUser selectByUserNameAndPassword(ManagerUser managerUser);

    List<ManagerUser> selectAll(ManagerUser managerUser);

    void insertUser(ManagerUser managerUser);

    void insertRoleById(Integer userId, Integer roleId);

    void updateUserById(ManagerUser managerUser);

    void deleteRoleByUserId(Integer id);
}
